﻿<UserControl
    x:Class="WinRTXamlToolkit.Sample.Views.DockPanelTestView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:WinRTXamlToolkit.Sample.Views.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:controls="using:WinRTXamlToolkit.Controls"
    mc:Ignorable="d">

    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition 
                Height="Auto"/>
        </Grid.RowDefinitions>

        <controls:DockPanel
            x:Name="dockPanel"
            VerticalAlignment="Stretch"
            HorizontalAlignment="Stretch" />
        <Button
            x:Name="RandomizeChildrenButton"
            Grid.Row="1"
            Click="RandomizeChildrenButton_OnClick"
            Content="Randomize Children"/>
    </Grid>
</UserControl>
